package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 顶部选项卡对象 sys_top_title
 * 
 * @author kuaidou
 * @date 2021-08-27
 */
public class SysTopTitle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 链接 */
    @Excel(name = "链接")
    private String url;

    /** 背景色 */
    @Excel(name = "背景色")
    private String colour;

    /** 可访问角色 */
    @Excel(name = "可访问角色")
    private String roles;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    @Excel(name = "标记")
    private String flag;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 窗口标题 */
    @Excel(name = "窗口标题")
    private String targetTitle;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setColour(String colour) 
    {
        this.colour = colour;
    }

    public String getColour() 
    {
        return colour;
    }
    public void setRoles(String roles) 
    {
        this.roles = roles;
    }

    public String getRoles() 
    {
        return roles;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setTargetTitle(String targetTitle) 
    {
        this.targetTitle = targetTitle;
    }

    public String getTargetTitle() 
    {
        return targetTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("url", getUrl())
            .append("colour", getColour())
            .append("roles", getRoles())
            .append("status", getStatus())
            .append("sort", getSort())
            .append("targetTitle", getTargetTitle())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
